#!/bin/bash
echo "mount rw"
mount -o remount rw /

echo "add HMI_test & hmi_test.service"
cp HMI_test /usr/bin
cp hmi_test.service /etc/systemd/system/

echo "link hmi_test.service ;auto reboot"
cd /etc/systemd/system/
ln -s hmi_test.service multi-user.target.wants/
cd /home

echo "test hmi_test.service"
systemctl start hmi_test 



